Optimal. Leaf size=66 \[ \frac {(c x)^{1+m} \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{3},-p;\frac {4+m}{3};-\frac {b x^3}{a}\right )}{c (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {372, 371}
\begin {gather*} \frac {(c x)^{m+1} \left (a+b x^3\right )^p \left (\frac {b x^3}{a}+1\right )^{-p} \, _2F_1\left (\frac {m+1}{3},-p;\frac {m+4}{3};-\frac {b x^3}{a}\right )}{c (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 372
Rubi steps
\begin {align*} \int (c x)^m \left (a+b x^3\right )^p \, dx &=\left (\left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p}\right ) \int (c x)^m \left (1+\frac {b x^3}{a}\right )^p \, dx\\ &=\frac {(c x)^{1+m} \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{3},-p;\frac {4+m}{3};-\frac {b x^3}{a}\right )}{c (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 64, normalized size = 0.97 \begin {gather*} \frac {x (c x)^m \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{3},-p;1+\frac {1+m}{3};-\frac {b x^3}{a}\right )}{1+m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \left (c x \right )^{m} \left (b \,x^{3}+a \right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.38, size = 17, normalized size = 0.26 \begin {gather*} {\rm integral}\left ({\left (b x^{3} + a\right )}^{p} \left (c x\right )^{m}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 118.29, size = 54, normalized size = 0.82 \begin {gather*} \frac {a^{p} c^{m} x x^{m} \Gamma \left (\frac {m}{3} + \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - p, \frac {m}{3} + \frac {1}{3} \\ \frac {m}{3} + \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {m}{3} + \frac {4}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\left (c\,x\right )}^m\,{\left (b\,x^3+a\right )}^p \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________